<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>layui</title>
    <meta content="webkit" name="renderer">
    <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1" name="viewport">
    <link href="../lib/layui-v2.6.3/css/layui.css" media="all" rel="stylesheet">
    <link href="../css/public.css" media="all" rel="stylesheet">
    <style>
        .site-demo-button {
            margin: 10px 0 10px 0
        }
    </style>
</head>
<body>
<div class="layuimini-container">
    <div class="layuimini-main">
        <fieldset class="layui-elem-field site-demo-button" style="margin-top: 30px;">
            <legend>按钮主题</legend>
            <div>
                <button class="layui-btn layui-btn-primary" type="button">原始按钮</button>
                <button class="layui-btn" type="button">默认按钮</button>
                <button class="layui-btn layui-btn-normal" type="button">百搭按钮</button>
                <button class="layui-btn layui-btn-warm" type="button">暖色按钮</button>
                <button class="layui-btn layui-btn-danger" type="button">警告按钮</button>
                <button class="layui-btn layui-btn-disabled" type="button">禁用按钮</button>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field site-demo-button">
            <legend>按钮尺寸</legend>
            <div>
                <button class="layui-btn layui-btn-primary layui-btn-lg" type="button">大型按钮</button>
                <button class="layui-btn layui-btn-primary" type="button">默认按钮</button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button">小型按钮</button>
                <button class="layui-btn layui-btn-primary layui-btn-xs" type="button">迷你按钮</button>

                <br>

                <button class="layui-btn layui-btn-lg" type="button">大型按钮</button>
                <button class="layui-btn" type="button">默认按钮</button>
                <button class="layui-btn layui-btn-sm" type="button">小型按钮</button>
                <button class="layui-btn layui-btn-xs" type="button">迷你按钮</button>

                <br>

                <button class="layui-btn layui-btn-lg layui-btn-normal" type="button">大型按钮</button>
                <button class="layui-btn layui-btn-normal" type="button">默认按钮</button>
                <button class="layui-btn layui-btn-sm layui-btn-normal" type="button">小型按钮</button>
                <button class="layui-btn layui-btn-xs layui-btn-normal" type="button">迷你按钮</button>

                <br>

                <div style="width: 216px; margin: 0;">
                    <button class="layui-btn layui-btn-fluid" type="button">流体按钮</button>
                </div>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field site-demo-button">
            <legend>灵活的图标按钮（更多图标请阅览：文档-图标）</legend>
            <div>
                <button class="layui-btn" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn" type="button"><i class="layui-icon"></i></button>

                <br>

                <button class="layui-btn layui-btn-danger" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-danger" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-danger" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-danger" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-danger" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-danger" type="button"><i class="layui-icon"></i></button>

                <br>

                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>

                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>

                <button class="layui-btn layui-btn-normal layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-normal layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-normal layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-normal layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-normal layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-normal layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field site-demo-button">
            <legend>还可以是圆角按钮</legend>
            <div>
                <button class="layui-btn layui-btn-primary layui-btn-radius" type="button">原始按钮</button>
                <button class="layui-btn layui-btn-radius" type="button">默认按钮</button>
                <button class="layui-btn layui-btn-normal layui-btn-radius" type="button">百搭按钮</button>
                <button class="layui-btn layui-btn-warm layui-btn-radius" type="button">暖色按钮</button>
                <button class="layui-btn layui-btn-danger layui-btn-radius" type="button">警告按钮</button>
                <button class="layui-btn layui-btn-disabled layui-btn-radius" type="button">禁用按钮</button>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field site-demo-button">
            <legend>风格混搭的按钮</legend>
            <div>
                <button class="layui-btn layui-btn-lg layui-btn-primary layui-btn-radius" type="button">大型加圆角
                </button>
                <a class="layui-btn" href="http://www.layui.com/doc/element/button.html" target="_blank">跳转的按钮</a>
                <button class="layui-btn layui-btn-sm layui-btn-normal" type="button"><i class="layui-icon"></i> 删除
                </button>
                <button class="layui-btn layui-btn-xs layui-btn-disabled" type="button"><i class="layui-icon"></i> 分享
                </button>
            </div>
        </fieldset>

        <fieldset class="layui-elem-field site-demo-button">
            <legend>按钮组</legend>
            <div class="layui-btn-group">
                <button class="layui-btn" type="button">增加</button>
                <button class="layui-btn " type="button">编辑</button>
                <button class="layui-btn" type="button">删除</button>
            </div>
            <div class="layui-btn-group">
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
                <button class="layui-btn layui-btn-sm" type="button"><i class="layui-icon"></i></button>
            </div>
            <div class="layui-btn-group">
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button">文字</button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
                <button class="layui-btn layui-btn-primary layui-btn-sm" type="button"><i class="layui-icon"></i>
                </button>
            </div>
        </fieldset>
    </div>
</div>

<script charset="utf-8" src="../lib/layui-v2.6.3/layui.js"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
</body>
</html>
